import { parse } from 'url';

function getPushDetail(
  req: { url: any },
  res: {
    json: (
      arg0: {
        body: {}
      },
    ) => void;
  },
) {
  const result = {
    code: 0,
    body: {
      name: '孙悟空',
      age: 20,
      contact: 'xiaoxin',
      phone: 18510291369,
    },
  };

  return res.json(result);
}

export default {
  'GET  /fcs_push_conf/edit_page': getPushDetail,
};
